package com.chenyue.cm.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单-物流表
 * </p>
 *
 * @author Lbx
 * @since 2024-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="JdOrderLogistics对象", description="订单-物流表")
public class JdOrderLogistics extends Model<JdOrderLogistics> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "商品id")
    private String goodsId;

    @ApiModelProperty(value = "规格id")
    private String skuId;

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "物流编号")
    private String logisticsNum;

    @ApiModelProperty(value = "物流公司编码")
    private String companyCode;

    @ApiModelProperty(value = "物流流转进度")
    private String logisticsDetail;

    @ApiModelProperty(value = "物流状态")
    private String state;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
